const nunjucks = require('nunjucks');

nunjucks.configure({ autoescape: true });


//渲染模板
exports.renderTempl = function(templ,data){
	return nunjucks.renderString(templ,data);
}